package cn.edu.jxyy.batistest.mapper;

import cn.edu.jxyy.batistest.pojo.Customer;
import cn.edu.jxyy.batistest.pojo.User;

import java.util.List;

public interface UserMapper {
    List<User> findAllUser();
    User findById(int id);
    int addUser(User user);

     void batchInsertUsers(List<User> userList);

//    int updateUser(String uname,int uage,int uid);
     int updateUser(User user);
     int deleteUser(int uid);

    }


